//
//  NSString+JLY.m
//  Zuisuigirveup
//
//  Created by spdbmacbook0003 on 2025/8/4.
//

#import "NSString+JLY.h"

@implementation NSString (JLY)
+(BOOL)JZLIsNilString:(NSString *)str{
    if(str == nil || str == NULL){
        return YES;
    }
    if([str isKindOfClass:[NSNull class]]){
        return YES;
    }
    if([str isKindOfClass:[NSString class]]){
        if(str.length == 0){
            return YES;
        }
        static NSSet *nullSet = nil;
        if(!nullSet){
            nullSet = [[NSSet alloc]initWithArray:@[@"null",@"(null)",@"<null>",@"NULL",@"(NULL)",@"<NULL>",@"nil",@"(nil)",@"<nil>"]];
        }
        if([nullSet containsObject:str]){
            return YES;
        }
    }
    return NO;
}
@end
